package com.mindata.blockchain.socket.body.base;

import com.mindata.blockchain.socket.body.base.BaseBody;
import com.mindata.blockchain.socket.common.msg.InstructionMsg;

public class InstructionsBody extends BaseBody {
    InstructionMsg instructionMsg;
    String msg;

    public InstructionsBody() {
    }

    public InstructionsBody(InstructionMsg txMsg) {
        this.instructionMsg = txMsg;
    }

    public InstructionMsg getInstructionMsg() {
        return instructionMsg;
    }

    public void setInstructionMsg(InstructionMsg instructionMsg) {
        this.instructionMsg = instructionMsg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "TransactionBody{" +
                "Txmsg=" + instructionMsg +
                ", msg='" + msg + '}';
    }
}
